import java.io.*;
import javax.swing.*;
import java.awt.*;
public  class Start 
{

    
    public Start() {}
    public static void main(String[] args)  
    throws IOException
    {
       
       JFrame.setDefaultLookAndFeelDecorated(true);
       Applet_writer input_frame = new Applet_writer();
       LookAndFeel LF = new LookAndFeel(); 
       Pleyfer_code pleyfer_code = new Pleyfer_code();
       Hash hash = new Hash();
       File_work file_work = new File_work();
       input_frame.start();
       file_work.File_op(input_frame.file_name,input_frame);        
       LF.initLookAndFeel();
       //Component contents = input_frame.createComponents();
       //input_frame.getContentPane().add(contents,BorderLayout.CENTER);
       //input_frame.createComponents();
       String str = input_frame.inp_text.getText();       
       input_frame.hash_input.setText(hash.HashFunction(str));
       input_frame.pack();
    }
}

